package com.gxl.design.commandpattern;

import com.gxl.design.commandpattern.order.Orders;

public class SubtractTwo extends AbstractOperater {

    public SubtractTwo(Orders orders) {
        super(orders);
        this.orders.insertOrder(this);
    }

    @Override
    public void doOperator() {
        this.orders.subtractTwo();
    }
}
